package com.ruoyi.settlement.service;

import java.util.List;

import com.ruoyi.settlement.domain.Lessee;
import com.ruoyi.settlement.domain.TbOrder;
import com.ruoyi.settlement.domain.TbSettlement;
import com.ruoyi.settlement.domain.Vo;

/**
 * 结算Service接口
 * 
 * @author ruoyi
 * @date 2023-05-08
 */
public interface ITbSettlementService 
{
    /**
     * 查询结算
     * 
     * @param settlementId 结算主键
     * @return 结算
     */
    public TbSettlement selectTbSettlementBySettlementId(Long settlementId);

    /**
     * 查询结算列表
     * 
     * @param tbSettlement 结算
     * @return 结算集合
     */
    public List<TbSettlement> selectTbSettlementList(TbSettlement tbSettlement);

    /**
     * 新增结算
     * 
     * @param tbSettlement 结算
     * @return 结果
     */
    public int insertTbSettlement(TbSettlement tbSettlement);

    /**
     * 修改结算
     * 
     * @param tbSettlement 结算
     * @return 结果
     */
    public int updateTbSettlement(TbSettlement tbSettlement);

    /**
     * 批量删除结算
     * 
     * @param settlementIds 需要删除的结算主键集合
     * @return 结果
     */
    public int deleteTbSettlementBySettlementIds(Long[] settlementIds);

    /**
     * 删除结算信息
     * 
     * @param settlementId 结算主键
     * @return 结果
     */
    public int deleteTbSettlementBySettlementId(Long settlementId);

    void update(Long id);

    List<TbOrder> findOrderList(Vo vo);

    List<Lessee> getPayBy();
}
